/*
 * Color.h
 *
 * Copyright (c) 2009-2011 [BRN] aka. SWW13.
 *
 * This file is part of [BRN]Lib.
 *
 * [BRN]Lib is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * [BRN]Lib is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with [BRN]Lib.  If not, see <http ://www.gnu.org/licenses/>.
 */

#if !defined BRNlib_NoD3D

#pragma once
#include "..\D3D Version.h"

namespace BRNlib
{
	namespace D3D
	{
		namespace Core
		{
			class Color
			{
			public:
				static char GetAlpha(D3DCOLOR Color);
				static char GetRed(D3DCOLOR Color);
				static char GetGreen(D3DCOLOR Color);
				static char GetBlue(D3DCOLOR Color);

				enum _D3DCOLOR
				{
					Red					= D3DCOLOR_XRGB(0xFF, 0x00, 0x00),
					Turquoise			= D3DCOLOR_XRGB(0x00, 0xFF, 0xFF),
					LightBlue			= D3DCOLOR_XRGB(0x00, 0x00, 0xFF),
					DarkBlue			= D3DCOLOR_XRGB(0x00, 0x00, 0xA0),
					LightPurple			= D3DCOLOR_XRGB(0xFF, 0x00, 0x80),
					DarkPurple			= D3DCOLOR_XRGB(0x80, 0x00, 0x80),
					Yellow				= D3DCOLOR_XRGB(0xFF, 0xFF, 0x00),
					PastelGreen			= D3DCOLOR_XRGB(0x00, 0xFF, 0x00),
					Pink				= D3DCOLOR_XRGB(0xFF, 0x00, 0xFF),
					White				= D3DCOLOR_XRGB(0xFF, 0xFF, 0xFF),
					LightGrey			= D3DCOLOR_XRGB(0xC0, 0xC0, 0xC0),
					DarkGrey			= D3DCOLOR_XRGB(0x80, 0x80, 0x80),
					Black				= D3DCOLOR_XRGB(0x00, 0x00, 0x00),
					Orange				= D3DCOLOR_XRGB(0xFF, 0x80, 0x40),
					Brown 				= D3DCOLOR_XRGB(0x80, 0x40, 0x00),
					Burgundy			= D3DCOLOR_XRGB(0x80, 0x00, 0x00),
					ForestGreen			= D3DCOLOR_XRGB(0x80, 0x80, 0x00),
					GrassGreen			= D3DCOLOR_XRGB(0x40, 0x80, 0x80),

					Grey0 				= D3DCOLOR_XRGB(0x15, 0x05, 0x17),
					Grey18 				= D3DCOLOR_XRGB(0x25, 0x05, 0x17),
					Grey21 				= D3DCOLOR_XRGB(0x2B, 0x1B, 0x17),
					Grey23 				= D3DCOLOR_XRGB(0x30, 0x22, 0x17),
					Grey24 				= D3DCOLOR_XRGB(0x30, 0x22, 0x26),
					Grey25 				= D3DCOLOR_XRGB(0x34, 0x28, 0x26),
					Grey26 				= D3DCOLOR_XRGB(0x34, 0x28, 0x2C),
					Grey27 				= D3DCOLOR_XRGB(0x38, 0x2D, 0x2C),
					Grey29 				= D3DCOLOR_XRGB(0x3E, 0x35, 0x35),
					Grey30 				= D3DCOLOR_XRGB(0x41, 0x38, 0x39),
					Grey31 				= D3DCOLOR_XRGB(0x41, 0x38, 0x3C),
					Grey32 				= D3DCOLOR_XRGB(0x46, 0x3E, 0x3F),
					Grey34 				= D3DCOLOR_XRGB(0x4A, 0x43, 0x44),
					Grey35 				= D3DCOLOR_XRGB(0x4C, 0x46, 0x46),
					Grey36 				= D3DCOLOR_XRGB(0x4E, 0x48, 0x48),
					Grey37 				= D3DCOLOR_XRGB(0x50, 0x4A, 0x4B),
					Grey38 				= D3DCOLOR_XRGB(0x54, 0x4E, 0x4F),
					Grey39 				= D3DCOLOR_XRGB(0x56, 0x50, 0x51),
					Grey40 				= D3DCOLOR_XRGB(0x59, 0x54, 0x54),
					Grey41 				= D3DCOLOR_XRGB(0x5C, 0x58, 0x58),
					Grey42 				= D3DCOLOR_XRGB(0x5F, 0x5A, 0x59),
					Grey43 				= D3DCOLOR_XRGB(0x62, 0x5D, 0x5D),
					Grey44 				= D3DCOLOR_XRGB(0x64, 0x60, 0x60),
					Grey45 				= D3DCOLOR_XRGB(0x66, 0x63, 0x62),
					Grey46 				= D3DCOLOR_XRGB(0x69, 0x65, 0x65),
					Grey47 				= D3DCOLOR_XRGB(0x6D, 0x69, 0x68),
					Grey48 				= D3DCOLOR_XRGB(0x6E, 0x6A, 0x6B),
					Grey49 				= D3DCOLOR_XRGB(0x72, 0x6E, 0x6D),
					Grey50 				= D3DCOLOR_XRGB(0x74, 0x71, 0x70),
					Grey 				= D3DCOLOR_XRGB(0x73, 0x6F, 0x6E),
					SlateGrey4 			= D3DCOLOR_XRGB(0x61, 0x6D, 0x7E),
					SlateGrey 			= D3DCOLOR_XRGB(0x65, 0x73, 0x83),
					LightSteelBlue4 	= D3DCOLOR_XRGB(0x64, 0x6D, 0x7E),
					LightSlateGrey 		= D3DCOLOR_XRGB(0x6D, 0x7B, 0x8D),
					CadetBlue4 			= D3DCOLOR_XRGB(0x4C, 0x78, 0x7E),
					DarkSlateGrey4 		= D3DCOLOR_XRGB(0x4C, 0x7D, 0x7E),
					Thistle4 			= D3DCOLOR_XRGB(0x80, 0x6D, 0x7E),
					MediumSlateBlue 	= D3DCOLOR_XRGB(0x5E, 0x5A, 0x80),
					MediumPurple4 		= D3DCOLOR_XRGB(0x4E, 0x38, 0x7E),
					MidnightBlue 		= D3DCOLOR_XRGB(0x15, 0x1B, 0x54),
					DarkSlateBlue 		= D3DCOLOR_XRGB(0x2B, 0x38, 0x56),
					DarkSlateGrey 		= D3DCOLOR_XRGB(0x25, 0x38, 0x3C),
					DimGrey 			= D3DCOLOR_XRGB(0x46, 0x3E, 0x41),
					CornflowerBlue 		= D3DCOLOR_XRGB(0x15, 0x1B, 0x8D),
					RoyalBlue4 			= D3DCOLOR_XRGB(0x15, 0x31, 0x7E),
					SlateBlue4 			= D3DCOLOR_XRGB(0x34, 0x2D, 0x7E),
					RoyalBlue 			= D3DCOLOR_XRGB(0x2B, 0x60, 0xDE),
					RoyalBlue1 			= D3DCOLOR_XRGB(0x30, 0x6E, 0xFF),
					RoyalBlue2 			= D3DCOLOR_XRGB(0x2B, 0x65, 0xEC),
					RoyalBlue3 			= D3DCOLOR_XRGB(0x25, 0x54, 0xC7),
					DeepSkyBlue 		= D3DCOLOR_XRGB(0x3B, 0xB9, 0xFF),
					DeepSkyBlue2 		= D3DCOLOR_XRGB(0x38, 0xAC, 0xEC),
					SlateBlue 			= D3DCOLOR_XRGB(0x35, 0x74, 0xEC),
					DeepSkyBlue3 		= D3DCOLOR_XRGB(0x30, 0x90, 0xC7),
					DeepSkyBlue4 		= D3DCOLOR_XRGB(0x25, 0x58, 0x7E),
					DodgerBlue 			= D3DCOLOR_XRGB(0x15, 0x89, 0xFF),
					DodgerBlue2 		= D3DCOLOR_XRGB(0x15, 0x7D, 0xEC),
					DodgerBlue3 		= D3DCOLOR_XRGB(0x15, 0x69, 0xC7),
					DodgerBlue4 		= D3DCOLOR_XRGB(0x15, 0x3E, 0x7E),
					SteelBlue4 			= D3DCOLOR_XRGB(0x2B, 0x54, 0x7E),
					SteelBlue 			= D3DCOLOR_XRGB(0x48, 0x63, 0xA0),
					SlateBlue2 			= D3DCOLOR_XRGB(0x69, 0x60, 0xEC),
					Violet 				= D3DCOLOR_XRGB(0x8D, 0x38, 0xC9),
					MediumPurple3 		= D3DCOLOR_XRGB(0x7A, 0x5D, 0xC7),
					MediumPurple 		= D3DCOLOR_XRGB(0x84, 0x67, 0xD7),
					MediumPurple2 		= D3DCOLOR_XRGB(0x91, 0x72, 0xEC),
					MediumPurple1 		= D3DCOLOR_XRGB(0x9E, 0x7B, 0xFF),
					LightSteelBlue 		= D3DCOLOR_XRGB(0x72, 0x8F, 0xCE),
					SteelBlue3 			= D3DCOLOR_XRGB(0x48, 0x8A, 0xC7),
					SteelBlue2 			= D3DCOLOR_XRGB(0x56, 0xA5, 0xEC),
					SteelBlue1 			= D3DCOLOR_XRGB(0x5C, 0xB3, 0xFF),
					SkyBlue3 			= D3DCOLOR_XRGB(0x65, 0x9E, 0xC7),
					SkyBlue4 			= D3DCOLOR_XRGB(0x41, 0x62, 0x7E),
					SlateGrey3 			= D3DCOLOR_XRGB(0x98, 0xAF, 0xC7),
					VioletRed 			= D3DCOLOR_XRGB(0xF6, 0x35, 0x8A),
					VioletRed1 			= D3DCOLOR_XRGB(0xF6, 0x35, 0x8A),
					VioletRed2 			= D3DCOLOR_XRGB(0xE4, 0x31, 0x7F),
					DeepPink 			= D3DCOLOR_XRGB(0xF5, 0x28, 0x87),
					DeepPink2 			= D3DCOLOR_XRGB(0xE4, 0x28, 0x7C),
					DeepPink3 			= D3DCOLOR_XRGB(0xC1, 0x22, 0x67),
					DeepPink4 			= D3DCOLOR_XRGB(0x7D, 0x05, 0x3F),
					MediumVioletRed 	= D3DCOLOR_XRGB(0xCA, 0x22, 0x6B),
					VioletRed3 			= D3DCOLOR_XRGB(0xC1, 0x28, 0x69),
					Firebrick 			= D3DCOLOR_XRGB(0x80, 0x05, 0x17),
					VioletRed4 			= D3DCOLOR_XRGB(0x7D, 0x05, 0x41),
					Maroon4 			= D3DCOLOR_XRGB(0x7D, 0x05, 0x52),
					Maroon 				= D3DCOLOR_XRGB(0x81, 0x05, 0x41),
					Maroon3 			= D3DCOLOR_XRGB(0xC1, 0x22, 0x83),
					Maroon2 			= D3DCOLOR_XRGB(0xE3, 0x31, 0x9D),
					Maroon1 			= D3DCOLOR_XRGB(0xF5, 0x35, 0xAA),
					Magenta 			= D3DCOLOR_XRGB(0xFF, 0x00, 0xFF),
					Magenta1 			= D3DCOLOR_XRGB(0xF4, 0x33, 0xFF),
					Magenta2 			= D3DCOLOR_XRGB(0xE2, 0x38, 0xEC),
					Magenta3 			= D3DCOLOR_XRGB(0xC0, 0x31, 0xC7),
					MediumOrchid 		= D3DCOLOR_XRGB(0xB0, 0x48, 0xB5),
					MediumOrchid1 		= D3DCOLOR_XRGB(0xD4, 0x62, 0xFF),
					MediumOrchid2 		= D3DCOLOR_XRGB(0xC4, 0x5A, 0xEC),
					MediumOrchid3 		= D3DCOLOR_XRGB(0xA7, 0x4A, 0xC7),
					MediumOrchid4 		= D3DCOLOR_XRGB(0x6A, 0x28, 0x7E),
					Purple 				= D3DCOLOR_XRGB(0x8E, 0x35, 0xEF),
					Purple1 			= D3DCOLOR_XRGB(0x89, 0x3B, 0xFF),
					Purple2 			= D3DCOLOR_XRGB(0x7F, 0x38, 0xEC),
					Purple3 			= D3DCOLOR_XRGB(0x6C, 0x2D, 0xC7),
					Purple4 			= D3DCOLOR_XRGB(0x46, 0x1B, 0x7E),
					DarkOrchid 			= D3DCOLOR_XRGB(0x7D, 0x1B, 0x7E),
					DarkViolet 			= D3DCOLOR_XRGB(0x84, 0x2D, 0xCE),
					DarkOrchid3 		= D3DCOLOR_XRGB(0x8B, 0x31, 0xC7),
					DarkOrchid2 		= D3DCOLOR_XRGB(0xA2, 0x3B, 0xEC),
					DarkOrchid1 		= D3DCOLOR_XRGB(0xB0, 0x41, 0xFF),
					Plum4 				= D3DCOLOR_XRGB(0x7E, 0x58, 0x7E),
					PaleVioletRed 		= D3DCOLOR_XRGB(0xD1, 0x65, 0x87),
					PaleVioletRed1 		= D3DCOLOR_XRGB(0xF7, 0x78, 0xA1),
					PaleVioletRed2 		= D3DCOLOR_XRGB(0xE5, 0x6E, 0x94),
					PaleVioletRed3 		= D3DCOLOR_XRGB(0xC2, 0x5A, 0x7C),
					PaleVioletRed4 		= D3DCOLOR_XRGB(0x7E, 0x35, 0x4D),
					Plum 				= D3DCOLOR_XRGB(0xB9, 0x3B, 0x8F),
					Plum1 				= D3DCOLOR_XRGB(0xF9, 0xB7, 0xFF),
					Plum2 				= D3DCOLOR_XRGB(0xE6, 0xA9, 0xEC),
					Plum3 				= D3DCOLOR_XRGB(0xC3, 0x8E, 0xC7),
					Thistle 			= D3DCOLOR_XRGB(0xD2, 0xB9, 0xD3),
					Thistle3 			= D3DCOLOR_XRGB(0xC6, 0xAE, 0xC7),
					LavendarBlush2 		= D3DCOLOR_XRGB(0xEB, 0xDD, 0xE2),
					LavendarBlush3 		= D3DCOLOR_XRGB(0xC8, 0xBB, 0xBE),
					Thistle2 			= D3DCOLOR_XRGB(0xE9, 0xCF, 0xEC),
					Thistle1 			= D3DCOLOR_XRGB(0xFC, 0xDF, 0xFF),
					Lavendar 			= D3DCOLOR_XRGB(0xE3, 0xE4, 0xFA),
					LavendarBlush 		= D3DCOLOR_XRGB(0xFD, 0xEE, 0xF4),
					LightSteelBlue1 	= D3DCOLOR_XRGB(0xC6, 0xDE, 0xFF),
					LightBlue1 			= D3DCOLOR_XRGB(0xBD, 0xED, 0xFF),
					LightCyan 			= D3DCOLOR_XRGB(0xE0, 0xFF, 0xFF),
					SlateGrey1 			= D3DCOLOR_XRGB(0xC2, 0xDF, 0xFF),
					SlateGrey2 			= D3DCOLOR_XRGB(0xB4, 0xCF, 0xEC),
					LightSteelBlue2 	= D3DCOLOR_XRGB(0xB7, 0xCE, 0xEC),
					Turquoise1 			= D3DCOLOR_XRGB(0x52, 0xF3, 0xFF),
					Cyan 				= D3DCOLOR_XRGB(0x00, 0xFF, 0xFF),
					Cyan1 				= D3DCOLOR_XRGB(0x57, 0xFE, 0xFF),
					Cyan2 				= D3DCOLOR_XRGB(0x50, 0xEB, 0xEC),
					Turquoise2 			= D3DCOLOR_XRGB(0x4E, 0xE2, 0xEC),
					MediumTurquoise 	= D3DCOLOR_XRGB(0x48, 0xCC, 0xCD),
					DarkSlateGrey1 		= D3DCOLOR_XRGB(0x9A, 0xFE, 0xFF),
					DarkSlateGrey2 		= D3DCOLOR_XRGB(0x8E, 0xEB, 0xEC),
					Cyan3 				= D3DCOLOR_XRGB(0x46, 0xC7, 0xC7),
					Turquoise3 			= D3DCOLOR_XRGB(0x43, 0xBF, 0xC7),
					CadetBlue3 			= D3DCOLOR_XRGB(0x77, 0xBF, 0xC7),
					PaleTurquoise3 		= D3DCOLOR_XRGB(0x92, 0xC7, 0xC7),
					LightBlue2 			= D3DCOLOR_XRGB(0xAF, 0xDC, 0xEC),
					DarkTurquoise 		= D3DCOLOR_XRGB(0x3B, 0x9C, 0x9C),
					Cyan4 				= D3DCOLOR_XRGB(0x30, 0x7D, 0x7E),
					LightSeaGreen 		= D3DCOLOR_XRGB(0x3E, 0xA9, 0x9F),
					LightSkyBlue 		= D3DCOLOR_XRGB(0x82, 0xCA, 0xFA),
					LightSkyBlue2 		= D3DCOLOR_XRGB(0xA0, 0xCF, 0xEC),
					LightSkyBlue3 		= D3DCOLOR_XRGB(0x87, 0xAF, 0xC7),
					SkyBlue 			= D3DCOLOR_XRGB(0x82, 0xCA, 0xFF),
					SkyBlue2 			= D3DCOLOR_XRGB(0x79, 0xBA, 0xEC),
					LightSkyBlue4 		= D3DCOLOR_XRGB(0x56, 0x6D, 0x7E),
					LightSlateBlue 		= D3DCOLOR_XRGB(0x73, 0x6A, 0xFF),
					LightCyan2 			= D3DCOLOR_XRGB(0xCF, 0xEC, 0xEC),
					LightCyan3 			= D3DCOLOR_XRGB(0xAF, 0xC7, 0xC7),
					LightCyan4 			= D3DCOLOR_XRGB(0x71, 0x7D, 0x7D),
					LightBlue3 			= D3DCOLOR_XRGB(0x95, 0xB9, 0xC7),
					LightBlue4 			= D3DCOLOR_XRGB(0x5E, 0x76, 0x7E),
					PaleTurquoise4 		= D3DCOLOR_XRGB(0x5E, 0x7D, 0x7E),
					DarkSeaGreen4 		= D3DCOLOR_XRGB(0x61, 0x7C, 0x58),
					MediumAquamarine	= D3DCOLOR_XRGB(0x34, 0x87, 0x81),
					MediumSeaGreen 		= D3DCOLOR_XRGB(0x30, 0x67, 0x54),
					SeaGreen 			= D3DCOLOR_XRGB(0x4E, 0x89, 0x75),
					DarkGreen 			= D3DCOLOR_XRGB(0x25, 0x41, 0x17),
					SeaGreen4 			= D3DCOLOR_XRGB(0x38, 0x7C, 0x44),
					MediumForestGreen	= D3DCOLOR_XRGB(0x34, 0x72, 0x35),
					SpringGreen4 		= D3DCOLOR_XRGB(0x34, 0x7C, 0x2C),
					DarkOliveGreen4 	= D3DCOLOR_XRGB(0x66, 0x7C, 0x26),
					Chartreuse4 		= D3DCOLOR_XRGB(0x43, 0x7C, 0x17),
					Green4 				= D3DCOLOR_XRGB(0x34, 0x7C, 0x17),
					MediumSpringGreen	= D3DCOLOR_XRGB(0x34, 0x80, 0x17),
					SpringGreen 		= D3DCOLOR_XRGB(0x4A, 0xA0, 0x2C),
					LimeGreen 			= D3DCOLOR_XRGB(0x41, 0xA3, 0x17),
					DarkSeaGreen 		= D3DCOLOR_XRGB(0x8B, 0xB3, 0x81),
					DarkSeaGreen3 		= D3DCOLOR_XRGB(0x99, 0xC6, 0x8E),
					Green3 				= D3DCOLOR_XRGB(0x4C, 0xC4, 0x17),
					Chartreuse3 		= D3DCOLOR_XRGB(0x6C, 0xC4, 0x17),
					YellowGreen 		= D3DCOLOR_XRGB(0x52, 0xD0, 0x17),
					SpringGreen3 		= D3DCOLOR_XRGB(0x4C, 0xC5, 0x52),
					SeaGreen3 			= D3DCOLOR_XRGB(0x54, 0xC5, 0x71),
					SpringGreen2 		= D3DCOLOR_XRGB(0x57, 0xE9, 0x64),
					SpringGreen1 		= D3DCOLOR_XRGB(0x5E, 0xFB, 0x6E),
					SeaGreen2 			= D3DCOLOR_XRGB(0x64, 0xE9, 0x86),
					SeaGreen1 			= D3DCOLOR_XRGB(0x6A, 0xFB, 0x92),
					DarkSeaGreen2 		= D3DCOLOR_XRGB(0xB5, 0xEA, 0xAA),
					DarkSeaGreen1 		= D3DCOLOR_XRGB(0xC3, 0xFD, 0xB8),
					Green 				= D3DCOLOR_XRGB(0x00, 0xFF, 0x00),
					LawnGreen 			= D3DCOLOR_XRGB(0x87, 0xF7, 0x17),
					Green1 				= D3DCOLOR_XRGB(0x5F, 0xFB, 0x17),
					Green2 				= D3DCOLOR_XRGB(0x59, 0xE8, 0x17),
					Chartreuse2 		= D3DCOLOR_XRGB(0x7F, 0xE8, 0x17),
					Chartreuse 			= D3DCOLOR_XRGB(0x8A, 0xFB, 0x17),
					GreenYellow 		= D3DCOLOR_XRGB(0xB1, 0xFB, 0x17),
					DarkOliveGreen1 	= D3DCOLOR_XRGB(0xCC, 0xFB, 0x5D),
					DarkOliveGreen2 	= D3DCOLOR_XRGB(0xBC, 0xE9, 0x54),
					DarkOliveGreen3 	= D3DCOLOR_XRGB(0xA0, 0xC5, 0x44),
					Yellow1 			= D3DCOLOR_XRGB(0xFF, 0xFC, 0x17),
					Khaki1 				= D3DCOLOR_XRGB(0xFF, 0xF3, 0x80),
					Khaki2 				= D3DCOLOR_XRGB(0xED, 0xE2, 0x75),
					Goldenrod 			= D3DCOLOR_XRGB(0xED, 0xDA, 0x74),
					Gold2 				= D3DCOLOR_XRGB(0xEA, 0xC1, 0x17),
					Gold1 				= D3DCOLOR_XRGB(0xFD, 0xD0, 0x17),
					Goldenrod1 			= D3DCOLOR_XRGB(0xFB, 0xB9, 0x17),
					Goldenrod2 			= D3DCOLOR_XRGB(0xE9, 0xAB, 0x17),
					Gold 				= D3DCOLOR_XRGB(0xD4, 0xA0, 0x17),
					Gold3 				= D3DCOLOR_XRGB(0xC7, 0xA3, 0x17),
					Goldenrod3 			= D3DCOLOR_XRGB(0xC6, 0x8E, 0x17),
					DarkGoldenrod 		= D3DCOLOR_XRGB(0xAF, 0x78, 0x17),
					Khaki 				= D3DCOLOR_XRGB(0xAD, 0xA9, 0x6E),
					Khaki3 				= D3DCOLOR_XRGB(0xC9, 0xBE, 0x62),
					Khaki4 				= D3DCOLOR_XRGB(0x82, 0x78, 0x39),
					DarkGoldenrod1 		= D3DCOLOR_XRGB(0xFB, 0xB1, 0x17),
					DarkGoldenrod2 		= D3DCOLOR_XRGB(0xE8, 0xA3, 0x17),
					DarkGoldenrod3 		= D3DCOLOR_XRGB(0xC5, 0x89, 0x17),
					Sienna1 			= D3DCOLOR_XRGB(0xF8, 0x74, 0x31),
					Sienna2 			= D3DCOLOR_XRGB(0xE6, 0x6C, 0x2C),
					DarkOrange 			= D3DCOLOR_XRGB(0xF8, 0x80, 0x17),
					DarkOrange1 		= D3DCOLOR_XRGB(0xF8, 0x72, 0x17),
					DarkOrange2 		= D3DCOLOR_XRGB(0xE5, 0x67, 0x17),
					DarkOrange3 		= D3DCOLOR_XRGB(0xC3, 0x56, 0x17),
					Sienna3 			= D3DCOLOR_XRGB(0xC3, 0x58, 0x17),
					Sienna 				= D3DCOLOR_XRGB(0x8A, 0x41, 0x17),
					Sienna4 			= D3DCOLOR_XRGB(0x7E, 0x35, 0x17),
					IndianRed4 			= D3DCOLOR_XRGB(0x7E, 0x22, 0x17),
					Salmon4 			= D3DCOLOR_XRGB(0x7E, 0x38, 0x17),
					DarkGoldenrod4 		= D3DCOLOR_XRGB(0x7F, 0x52, 0x17),
					Gold4 				= D3DCOLOR_XRGB(0x80, 0x65, 0x17),
					Goldenrod4 			= D3DCOLOR_XRGB(0x80, 0x58, 0x17),
					LightSalmon4 		= D3DCOLOR_XRGB(0x7F, 0x46, 0x2C),
					Chocolate 			= D3DCOLOR_XRGB(0xC8, 0x5A, 0x17),
					Coral3 				= D3DCOLOR_XRGB(0xC3, 0x4A, 0x2C),
					Coral2 				= D3DCOLOR_XRGB(0xE5, 0x5B, 0x3C),
					Coral 				= D3DCOLOR_XRGB(0xF7, 0x65, 0x41),
					DarkSalmon 			= D3DCOLOR_XRGB(0xE1, 0x8B, 0x6B),
					Salmon1 			= D3DCOLOR_XRGB(0xF8, 0x81, 0x58),
					Salmon2 			= D3DCOLOR_XRGB(0xE6, 0x74, 0x51),
					Salmon3 			= D3DCOLOR_XRGB(0xC3, 0x62, 0x41),
					LightSalmon3 		= D3DCOLOR_XRGB(0xC4, 0x74, 0x51),
					LightSalmon2 		= D3DCOLOR_XRGB(0xE7, 0x8A, 0x61),
					LightSalmon 		= D3DCOLOR_XRGB(0xF9, 0x96, 0x6B),
					SandyBrown 			= D3DCOLOR_XRGB(0xEE, 0x9A, 0x4D),
					HotPink 			= D3DCOLOR_XRGB(0xF6, 0x60, 0xAB),
					HotPink1 			= D3DCOLOR_XRGB(0xF6, 0x65, 0xAB),
					HotPink2 			= D3DCOLOR_XRGB(0xE4, 0x5E, 0x9D),
					HotPink3 			= D3DCOLOR_XRGB(0xC2, 0x52, 0x83),
					HotPink4 			= D3DCOLOR_XRGB(0x7D, 0x22, 0x52),
					LightCoral 			= D3DCOLOR_XRGB(0xE7, 0x74, 0x71),
					IndianRed1 			= D3DCOLOR_XRGB(0xF7, 0x5D, 0x59),
					IndianRed2 			= D3DCOLOR_XRGB(0xE5, 0x54, 0x51),
					IndianRed3 			= D3DCOLOR_XRGB(0xC2, 0x46, 0x41),
					Red1 				= D3DCOLOR_XRGB(0xF6, 0x22, 0x17),
					Red2 				= D3DCOLOR_XRGB(0xE4, 0x1B, 0x17),
					Firebrick1 			= D3DCOLOR_XRGB(0xF6, 0x28, 0x17),
					Firebrick2 			= D3DCOLOR_XRGB(0xE4, 0x22, 0x17),
					Firebrick3 			= D3DCOLOR_XRGB(0xC1, 0x1B, 0x17),
					RosyBrown1 			= D3DCOLOR_XRGB(0xFB, 0xBB, 0xB9),
					RosyBrown2 			= D3DCOLOR_XRGB(0xE8, 0xAD, 0xAA),
					Pink2 				= D3DCOLOR_XRGB(0xE7, 0xA1, 0xB0),
					LightPink 			= D3DCOLOR_XRGB(0xFA, 0xAF, 0xBA),
					LightPink1 			= D3DCOLOR_XRGB(0xF9, 0xA7, 0xB0),
					LightPink2 			= D3DCOLOR_XRGB(0xE7, 0x99, 0xA3),
					Pink3 				= D3DCOLOR_XRGB(0xC4, 0x87, 0x93),
					RosyBrown3 			= D3DCOLOR_XRGB(0xC5, 0x90, 0x8E),
					RosyBrown 			= D3DCOLOR_XRGB(0xB3, 0x84, 0x81),
					LightPink3 			= D3DCOLOR_XRGB(0xC4, 0x81, 0x89),
					RosyBrown4 			= D3DCOLOR_XRGB(0x7F, 0x5A, 0x58),
					LightPink4 			= D3DCOLOR_XRGB(0x7F, 0x4E, 0x52),
					Pink4 				= D3DCOLOR_XRGB(0x7F, 0x52, 0x5D),
					LavenderBlush4 		= D3DCOLOR_XRGB(0x81, 0x76, 0x79),
					LightGoldenrod4 	= D3DCOLOR_XRGB(0x81, 0x73, 0x39),
					LemonChiffon4 		= D3DCOLOR_XRGB(0x82, 0x7B, 0x60),
					LemonChiffon3 		= D3DCOLOR_XRGB(0xC9, 0xC2, 0x99),
					LightGoldenrod3 	= D3DCOLOR_XRGB(0xC8, 0xB5, 0x60),
					LightGolden2 		= D3DCOLOR_XRGB(0xEC, 0xD6, 0x72),
					LightGoldenrod 		= D3DCOLOR_XRGB(0xEC, 0xD8, 0x72),
					LightGoldenrod1 	= D3DCOLOR_XRGB(0xFF, 0xE8, 0x7C),
					LemonChiffon2 		= D3DCOLOR_XRGB(0xEC, 0xE5, 0xB6),
					LemonChiffon 		= D3DCOLOR_XRGB(0xFF, 0xF8, 0xC6),
					LightGoldenrodYellow= D3DCOLOR_XRGB(0xFA, 0xF8, 0xCC)
				};
			};
		}
	}
}

#endif